#ifndef __NST_DEFINE_H
#define __NST_DEFINE_H

#ifdef __cplusplus
extern "C" {
#endif

// 宏定义：输出电源状态
#define LOG_POWER_STATE() \
    nst_log("Power State: ON=%d, OFF=%d\n", system_status.power.on, system_status.power.off)

// 宏定义：输出串口状态
#define LOG_USART_STATE() \
    nst_log("USART State: TX_OK=%d, RX_OK=%d, ERROR=%d\n", system_status.usart.tx_ok, system_status.usart.rx_ok, system_status.usart.error)


typedef enum
{
    NST_OK,
    NST_ERROR,
    NST_BUSY,
} T_NST_STA;




#ifdef __cplusplus
}
#endif

#endif /* __LOG_H */
